package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "comment_detail")
public class CommentDetail extends TendBaseEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6021043502706383869L;

	/**
	 * 关联表comment表id
	 */
	private Long commentid;
	
	/**
	 * 评价内容
	 */
	private String commenttext;
	
	/**
	 * 评价对象 0：买家 1：卖家
	 */
	private int commentobejct;
	
	/**
	 * 已读标记 0：未读 1：已读
	 */
	private int readflag;
	
	/**
	 * 回复标记 0：未回复 1：已回复
	 */
	private int answerflag;
	
	/**
	 * 默认回复标记 0：非默认回复 1 默认回复
	 */
	private int defaultanswerflag;

	public Long getCommentid() {
		return commentid;
	}

	public void setCommentid(Long commentid) {
		this.commentid = commentid;
	}

	public String getCommenttext() {
		return commenttext;
	}

	public void setCommenttext(String commenttext) {
		this.commenttext = commenttext;
	}

	public int getCommentobejct() {
		return commentobejct;
	}

	public void setCommentobejct(int commentobejct) {
		this.commentobejct = commentobejct;
	}

	public int getReadflag() {
		return readflag;
	}

	public void setReadflag(int readflag) {
		this.readflag = readflag;
	}

	public int getAnswerflag() {
		return answerflag;
	}

	public void setAnswerflag(int answerflag) {
		this.answerflag = answerflag;
	}

	public int getDefaultanswerflag() {
		return defaultanswerflag;
	}

	public void setDefaultanswerflag(int defaultanswerflag) {
		this.defaultanswerflag = defaultanswerflag;
	}
	
}
